package fy.uap.bean;

import java.lang.reflect.Field;
import java.util.List;

public class MergerProviderFormBean {

	private String company;
	
	private boolean isChangeName;
	
	private String oldProviderCode;
	
	private String newProviderCode;
	
	private String newProviderName;
	
	private String oldProviderName;
	
	private boolean isChangeInfo;
	
	private String number;
	
	private String applicationDate;
	
	private String reason;
	
	private String similarSuppliers;
	private String address;
	private String linkman;
	private String supplyCycle;
	private String cvenbank;
	private String supplyAddress;
	private String tel;
	private String cpurbillcode;
	private String bankAccount;
	private String taxRegister;
	private String fax;
	private String couttype;
	private String cmoneytype;
	private String qualitySystem;
	private String postCode;
	private String companyType;
	private String ccuspaycond;

	private String property;
	private String email;
	private String ccontent;
	
	private String memberCode;
	
	private String cVenBankMemo;
	private String bankAccountName;
	private String bankCode;
	
	private String qylb;
	private String zczj;
	private String clsj;
	private String zgrs;
	private String jycs;
	private String frdb;
	private String frdbsfz;
	private String nxse;
	
	public String getQylb() {
		return qylb;
	}
	public void setQylb(String qylb) {
		this.qylb = qylb;
	}
	public String getZczj() {
		return zczj;
	}
	public void setZczj(String zczj) {
		this.zczj = zczj;
	}
	public String getClsj() {
		return clsj;
	}
	public void setClsj(String clsj) {
		this.clsj = clsj;
	}
	public String getZgrs() {
		return zgrs;
	}
	public void setZgrs(String zgrs) {
		this.zgrs = zgrs;
	}
	public String getJycs() {
		return jycs;
	}
	public void setJycs(String jycs) {
		this.jycs = jycs;
	}
	public String getFrdb() {
		return frdb;
	}
	public void setFrdb(String frdb) {
		this.frdb = frdb;
	}
	public String getFrdbsfz() {
		return frdbsfz;
	}
	public void setFrdbsfz(String frdbsfz) {
		this.frdbsfz = frdbsfz;
	}
	public String getNxse() {
		return nxse;
	}
	public void setNxse(String nxse) {
		this.nxse = nxse;
	}
	public String getBankAccountName() {
		return bankAccountName;
	}
	public void setBankAccountName(String bankAccountName) {
		this.bankAccountName = bankAccountName;
	}
	public String getBankCode() {
		return bankCode;
	}
	public void setBankCode(String bankCode) {
		this.bankCode = bankCode;
	}
	public String getcVenBankMemo() {
		return cVenBankMemo;
	}
	public void setcVenBankMemo(String cVenBankMemo) {
		this.cVenBankMemo = cVenBankMemo;
	}
	public String getMemberCode() {
		return memberCode;
	}
	public void setMemberCode(String memberCode) {
		this.memberCode = memberCode;
	}
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	public boolean isChangeName() {
		return isChangeName;
	}
	public void setChangeName(boolean isChangeName) {
		this.isChangeName = isChangeName;
	}
	public String getOldProviderCode() {
		return oldProviderCode;
	}
	public void setOldProviderCode(String oldProviderCode) {
		this.oldProviderCode = oldProviderCode;
	}
	public String getNewProviderCode() {
		return newProviderCode;
	}
	public void setNewProviderCode(String newProviderCode) {
		this.newProviderCode = newProviderCode;
	}
	public String getNewProviderName() {
		return newProviderName;
	}
	public void setNewProviderName(String newProviderName) {
		this.newProviderName = newProviderName;
	}
	public boolean isChangeInfo() {
		return isChangeInfo;
	}
	public void setChangeInfo(boolean isChangeInfo) {
		this.isChangeInfo = isChangeInfo;
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public String getApplicationDate() {
		return applicationDate;
	}
	public void setApplicationDate(String applicationDate) {
		this.applicationDate = applicationDate;
	}
	public String getReason() {
		return reason;
	}
	public void setReason(String reason) {
		this.reason = reason;
	}
	public String getSimilarSuppliers() {
		return similarSuppliers;
	}
	public void setSimilarSuppliers(String similarSuppliers) {
		this.similarSuppliers = similarSuppliers;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getLinkman() {
		return linkman;
	}
	public void setLinkman(String linkman) {
		this.linkman = linkman;
	}
	public String getSupplyCycle() {
		return supplyCycle;
	}
	public void setSupplyCycle(String supplyCycle) {
		this.supplyCycle = supplyCycle;
	}
	public String getCvenbank() {
		return cvenbank;
	}
	public void setCvenbank(String cvenbank) {
		this.cvenbank = cvenbank;
	}
	public String getSupplyAddress() {
		return supplyAddress;
	}
	public void setSupplyAddress(String supplyAddress) {
		this.supplyAddress = supplyAddress;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getCpurbillcode() {
		return cpurbillcode;
	}
	public void setCpurbillcode(String cpurbillcode) {
		this.cpurbillcode = cpurbillcode;
	}
	public String getBankAccount() {
		return bankAccount;
	}
	public void setBankAccount(String bankAccount) {
		this.bankAccount = bankAccount;
	}
	public String getTaxRegister() {
		return taxRegister;
	}
	public void setTaxRegister(String taxRegister) {
		this.taxRegister = taxRegister;
	}
	public String getFax() {
		return fax;
	}
	public void setFax(String fax) {
		this.fax = fax;
	}
	public String getCouttype() {
		return couttype;
	}
	public void setCouttype(String couttype) {
		this.couttype = couttype;
	}
	public String getCmoneytype() {
		return cmoneytype;
	}
	public void setCmoneytype(String cmoneytype) {
		this.cmoneytype = cmoneytype;
	}
	public String getQualitySystem() {
		return qualitySystem;
	}
	public void setQualitySystem(String qualitySystem) {
		this.qualitySystem = qualitySystem;
	}
	public String getPostCode() {
		return postCode;
	}
	public void setPostCode(String postCode) {
		this.postCode = postCode;
	}
	public String getCompanyType() {
		return companyType;
	}
	public void setCompanyType(String companyType) {
		this.companyType = companyType;
	}
	public String getCcuspaycond() {
		return ccuspaycond;
	}
	public void setCcuspaycond(String ccuspaycond) {
		this.ccuspaycond = ccuspaycond;
	}
	public String getProperty() {
		return property;
	}
	public void setProperty(String property) {
		this.property = property;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getCcontent() {
		return ccontent;
	}
	public void setCcontent(String ccontent) {
		this.ccontent = ccontent;
	}
	
	public String getOldProviderName() {
		return oldProviderName;
	}
	public void setOldProviderName(String oldProviderName) {
		this.oldProviderName = oldProviderName;
	}
	
	public String printFields() {
		StringBuilder sb = new StringBuilder();

		Field[] fields = this.getClass().getDeclaredFields();

		if (fields != null) {
			try {
				for (int i = 0, length = fields.length; i < length; i++) {
					sb.append(fields[i].getName()).append(":");

					if (fields[i].get(this) instanceof List) {
						@SuppressWarnings("rawtypes")
						List list = (List) fields[i].get(this);
						if (list != null) {
							for (int m = 0; m < list.size(); m++) {
								sb.append("<").append(list.get(m)).append(">");
							}
							sb.append("\n");
						}
					} else {
						sb.append(fields[i].get(this)).append("\n");
					}
				}
			} catch (Exception e) {
				e.printStackTrace();
			}

		}

		System.out.println(sb.toString());
		return sb.toString();
	}
}
